inherited fmFoodPortion: TfmFoodPortion
  Left = 567
  Top = 256
  Width = 1024
  Height = 586
  Caption = #1050#1086#1083#1080#1095#1077#1089#1090#1074#1086' '#1087#1086#1088#1094#1080#1081
  Constraints.MinHeight = 586
  Constraints.MinWidth = 812
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  inherited sbBottom: TStatusBar
    Top = 521
    Width = 1008
  end
  inherited Panel1: TPanel
    Width = 1008
    Visible = False
    inherited BitBtn1: TBitBtn
      Left = 839
    end
    inherited BitBtn2: TBitBtn
      Left = 927
    end
    object cxButton1: TcxButton
      Tag = 12
      Left = 315
      Top = 10
      Width = 103
      Height = 21
      Caption = #1050#1086#1101#1092#1092#1080#1094#1080#1077#1085#1090#1099
      ParentShowHint = False
      ShowHint = True
      TabOrder = 2
      TabStop = False
      OnClick = cxButton1Click
      LookAndFeel.SkinName = ''
    end
  end
  object cxGrid3: TcxGrid [2]
    Left = 0
    Top = 73
    Width = 1008
    Height = 448
    Align = alClient
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'Tahoma'
    Font.Style = []
    ParentFont = False
    TabOrder = 2
    LookAndFeel.Kind = lfStandard
    object tvmenu: TcxGridDBBandedTableView
      NavigatorButtons.ConfirmDelete = False
      OnEditing = tvmenuEditing
      DataController.DataSource = dsPortion
      DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoGroupsAlwaysExpanded]
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsCustomize.ColumnFiltering = False
      OptionsCustomize.BandMoving = False
      OptionsView.ColumnAutoWidth = True
      OptionsView.GroupByBox = False
      Styles.IncSearch = DMInv.cxKrasniyText
      Styles.Selection = DMInv.cxJoltiyFon
      Styles.Header = DMInv.cxSiniyText
      Styles.BandHeader = DMInv.cxSiniyText
      Bands = <
        item
          Width = 213
        end
        item
          Caption = #1044#1077#1090#1089#1082#1080#1081' '#1089#1072#1076' ('#1076#1077#1090#1080' 1-3 '#1075#1086#1076#1072')'
          Width = 141
        end
        item
          Caption = #1044#1077#1090#1089#1082#1080#1081' '#1089#1072#1076' ('#1076#1077#1090#1080' 3-6 '#1083#1077#1090')'
          Width = 153
        end
        item
          Caption = #1044#1077#1090#1089#1082#1080#1081' '#1089#1072#1076' ('#1089#1086#1090#1088#1091#1076#1085#1080#1082#1080')'
          Width = 139
        end
        item
          Caption = #1053#1072#1095'. '#1096#1082#1086#1083#1072' ('#1076#1077#1090#1080')'
          Width = 137
        end
        item
          Caption = #1053#1072#1095'. '#1096#1082#1086#1083#1072' ('#1089#1086#1090#1088#1091#1076#1085#1080#1082#1080')'
          Width = 59
        end
        item
          Caption = #1057#1088'. '#1096#1082#1086#1083#1072' ('#1076#1077#1090#1080')'
          Width = 60
        end
        item
          Caption = #1057#1088'. '#1096#1082#1086#1083#1072' ('#1089#1086#1090#1088#1091#1076#1085#1080#1082#1080')'
          Width = 59
        end
        item
          Caption = #1057#1086#1090#1088#1091#1076#1085#1080#1082#1080
          Width = 43
        end>
      object tvmenuPDATE: TcxGridDBBandedColumn
        Caption = #1044#1072#1090#1072
        DataBinding.FieldName = 'PDATE'
        Visible = False
        GroupIndex = 0
        Position.BandIndex = 0
        Position.ColIndex = 0
        Position.RowIndex = 0
      end
      object tvmenuTYPEPORTION: TcxGridDBBandedColumn
        Caption = #8470
        DataBinding.FieldName = 'TYPEPORTION'
        Options.Editing = False
        Width = 20
        Position.BandIndex = 0
        Position.ColIndex = 1
        Position.RowIndex = 0
      end
      object tvmenuGR: TcxGridDBBandedColumn
        Caption = #1055#1088#1080#1077#1084' '#1087#1080#1097#1080
        DataBinding.FieldName = 'GR'
        Options.Editing = False
        Width = 145
        Position.BandIndex = 0
        Position.ColIndex = 2
        Position.RowIndex = 0
      end
      object tvmenuTNURSERY: TcxGridDBBandedColumn
        Caption = #1056#1072#1089#1095'.'
        DataBinding.FieldName = 'TNURSERY1'
        Position.BandIndex = 1
        Position.ColIndex = 0
        Position.RowIndex = 0
      end
      object tvmenuANURSERY: TcxGridDBBandedColumn
        Caption = #1060#1072#1082#1090'.'
        DataBinding.FieldName = 'ANURSERY1'
        Position.BandIndex = 1
        Position.ColIndex = 1
        Position.RowIndex = 0
      end
      object tvmenuTNURSERY2: TcxGridDBBandedColumn
        Caption = #1056#1072#1089#1095'.'
        DataBinding.FieldName = 'TNURSERY2'
        Position.BandIndex = 2
        Position.ColIndex = 0
        Position.RowIndex = 0
      end
      object tvmenuANURSERY2: TcxGridDBBandedColumn
        Caption = #1060#1072#1082#1090'.'
        DataBinding.FieldName = 'ANURSERY2'
        Position.BandIndex = 2
        Position.ColIndex = 1
        Position.RowIndex = 0
      end
      object tvmenuTNURSERYSTAFF: TcxGridDBBandedColumn
        Caption = #1056#1072#1089#1095'.'
        DataBinding.FieldName = 'TNURSERYSTAFF'
        Position.BandIndex = 3
        Position.ColIndex = 0
        Position.RowIndex = 0
      end
      object tvmenuANURSERYSTAFF: TcxGridDBBandedColumn
        Caption = #1060#1072#1082#1090'.'
        DataBinding.FieldName = 'ANURSERYSTAFF'
        Position.BandIndex = 3
        Position.ColIndex = 1
        Position.RowIndex = 0
      end
      object tvmenuTPRIMARY: TcxGridDBBandedColumn
        Caption = #1056#1072#1089#1095'.'
        DataBinding.FieldName = 'TPRIMARY'
        Position.BandIndex = 4
        Position.ColIndex = 0
        Position.RowIndex = 0
      end
      object tvmenuAPRIMARY: TcxGridDBBandedColumn
        Caption = #1060#1072#1082#1090'.'
        DataBinding.FieldName = 'APRIMARY'
        Position.BandIndex = 4
        Position.ColIndex = 1
        Position.RowIndex = 0
      end
      object tvmenuTPRIMARYSTAFF: TcxGridDBBandedColumn
        Caption = #1056#1072#1089#1095'.'
        DataBinding.FieldName = 'TPRIMARYSTAFF'
        Position.BandIndex = 5
        Position.ColIndex = 0
        Position.RowIndex = 0
      end
      object tvmenuAPRIMARYSTAFF: TcxGridDBBandedColumn
        Caption = #1060#1072#1082#1090'.'
        DataBinding.FieldName = 'APRIMARYSTAFF'
        Position.BandIndex = 5
        Position.ColIndex = 1
        Position.RowIndex = 0
      end
      object tvmenuTHIGH: TcxGridDBBandedColumn
        Caption = #1056#1072#1089#1095'.'
        DataBinding.FieldName = 'THIGH'
        Position.BandIndex = 6
        Position.ColIndex = 0
        Position.RowIndex = 0
      end
      object tvmenuAHIGH: TcxGridDBBandedColumn
        Caption = #1060#1072#1082#1090'.'
        DataBinding.FieldName = 'AHIGH'
        Position.BandIndex = 6
        Position.ColIndex = 1
        Position.RowIndex = 0
      end
      object tvmenuTHIGHSTAFF: TcxGridDBBandedColumn
        Caption = #1056#1072#1089#1095'.'
        DataBinding.FieldName = 'THIGHSTAFF'
        Position.BandIndex = 7
        Position.ColIndex = 0
        Position.RowIndex = 0
      end
      object tvmenuAHIGHSTAFF: TcxGridDBBandedColumn
        Caption = #1060#1072#1082#1090'.'
        DataBinding.FieldName = 'AHIGHSTAFF'
        Position.BandIndex = 7
        Position.ColIndex = 1
        Position.RowIndex = 0
      end
      object tvmenuTSTAFF: TcxGridDBBandedColumn
        Caption = #1056#1072#1089#1095'.'
        DataBinding.FieldName = 'TSTAFF'
        Position.BandIndex = 8
        Position.ColIndex = 0
        Position.RowIndex = 0
      end
      object tvmenuASTAFF: TcxGridDBBandedColumn
        Caption = #1060#1072#1082#1090'.'
        DataBinding.FieldName = 'ASTAFF'
        Position.BandIndex = 8
        Position.ColIndex = 1
        Position.RowIndex = 0
      end
      object tvmenuISNOTUSE: TcxGridDBBandedColumn
        Caption = #1048#1089#1082#1083'.'
        DataBinding.FieldName = 'ISNOTUSE'
        PropertiesClassName = 'TcxCheckBoxProperties'
        Properties.NullStyle = nssUnchecked
        Properties.ValueChecked = 1
        Properties.ValueUnchecked = 0
        Properties.OnEditValueChanged = cxGridDBBandedTableView1ISNOTUSEPropertiesEditValueChanged
        Position.BandIndex = 0
        Position.ColIndex = 3
        Position.RowIndex = 0
      end
    end
    object cxGridLevel2: TcxGridLevel
      GridView = tvmenu
    end
  end
  object Panel2: TPanel [3]
    Left = 0
    Top = 45
    Width = 1008
    Height = 28
    Align = alTop
    Caption = 'Panel2'
    TabOrder = 7
    object dxBarDockControl2: TdxBarDockControl
      Left = 1
      Top = 1
      Width = 1006
      Height = 26
      Align = dalTop
      BarManager = dxBarManager1
    end
  end
  object dxBarManager1: TdxBarManager
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -12
    Font.Name = 'Segoe UI'
    Font.Style = []
    Categories.Strings = (
      'Default')
    Categories.ItemsVisibles = (
      2)
    Categories.Visibles = (
      True)
    ImageOptions.Images = DMInv.cxSmallImages
    LookAndFeel.Kind = lfFlat
    LookAndFeel.NativeStyle = False
    LookAndFeel.SkinName = ''
    PopupMenuLinks = <>
    UseSystemFont = True
    Left = 162
    Top = 207
    DockControlHeights = (
      0
      0
      0
      0)
    object dxBarManager1Bar1: TdxBar
      AllowClose = False
      AllowCustomizing = False
      AllowQuickCustomizing = False
      AllowReset = False
      Caption = 'Custom 1'
      CaptionButtons = <>
      DockControl = dxBarDockControl2
      DockedDockControl = dxBarDockControl2
      DockedLeft = 0
      DockedTop = 0
      FloatLeft = 219
      FloatTop = 158
      FloatClientWidth = 0
      FloatClientHeight = 0
      ItemLinks = <
        item
          Visible = True
          ItemName = 'beiDateBegin'
        end
        item
          Visible = True
          ItemName = 'beiDateEnd'
        end
        item
          BeginGroup = True
          Visible = True
          ItemName = 'dxBarButton43'
        end>
      NotDocking = [dsNone, dsLeft, dsTop, dsRight, dsBottom]
      OneOnRow = True
      Row = 0
      UseOwnFont = False
      UseRecentItems = False
      UseRestSpace = True
      Visible = True
      WholeRow = False
    end
    object dxBarButton1: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 51
    end
    object dxBarButton2: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 54
    end
    object dxBarButton3: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 46
    end
    object dxBarButton4: TdxBarButton
      Caption = 'New Button'
      Category = 0
      Hint = #1048#1079#1084#1077#1085#1080#1090#1100' '#1096#1072#1073#1083#1086#1085
      Visible = ivNever
      ImageIndex = 37
    end
    object dxBarButton5: TdxBarButton
      Caption = 'New Button'
      Category = 0
      Visible = ivAlways
      ImageIndex = 51
    end
    object dxBarButton6: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 54
    end
    object dxBarButton7: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 46
    end
    object dxBarButton8: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 51
    end
    object dxBarButton9: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 54
    end
    object dxBarButton10: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 46
    end
    object dxBarButton11: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 51
    end
    object dxBarButton12: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 54
    end
    object dxBarButton13: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 46
    end
    object dxBarButton14: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 51
    end
    object dxBarButton15: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 54
    end
    object dxBarButton16: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 46
    end
    object dxBarButton17: TdxBarButton
      Align = iaRight
      Caption = 'New Button'
      Category = 0
      Visible = ivAlways
      ImageIndex = 17
    end
    object dxBarButton18: TdxBarButton
      Align = iaRight
      Category = 0
      Visible = ivAlways
      ImageIndex = 17
    end
    object dxBarButton19: TdxBarButton
      Align = iaRight
      Category = 0
      Visible = ivAlways
      ImageIndex = 17
    end
    object dxBarButton20: TdxBarButton
      Align = iaRight
      Category = 0
      Visible = ivAlways
      ImageIndex = 17
    end
    object dxBarButton21: TdxBarButton
      Align = iaRight
      Category = 0
      Visible = ivAlways
      ImageIndex = 17
    end
    object dxBarButton22: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 51
    end
    object dxBarButton23: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 54
    end
    object dxBarButton24: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 46
    end
    object dxBarButton25: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 41
    end
    object dxBarButton26: TdxBarButton
      Align = iaRight
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivAlways
      ImageIndex = 17
    end
    object dxBarButton27: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 51
    end
    object dxBarButton28: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 54
    end
    object dxBarButton29: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 46
    end
    object dxBarButton30: TdxBarButton
      Align = iaRight
      Category = 0
      Visible = ivAlways
      ImageIndex = 17
    end
    object dxBarButton31: TdxBarButton
      Align = iaRight
      Category = 0
      Visible = ivAlways
      ImageIndex = 17
    end
    object dxBarSubItem1: TdxBarSubItem
      Caption = 'New SubItem'
      Category = 0
      Visible = ivAlways
      ItemLinks = <>
    end
    object dxBarButton32: TdxBarButton
      Category = 0
      Visible = ivAlways
      ImageIndex = 51
    end
    object dxBarButton33: TdxBarButton
      Category = 0
      Visible = ivNever
      ImageIndex = 41
    end
    object dxBarButton34: TdxBarButton
      Category = 0
      Visible = ivNever
      ImageIndex = 54
    end
    object dxBarButton35: TdxBarButton
      Category = 0
      Visible = ivNever
      ImageIndex = 46
    end
    object dxBarEdit1: TdxBarEdit
      Caption = 'New Item'
      Category = 0
      Hint = 'New Item'
      Visible = ivAlways
      Width = 100
    end
    object beDate: TcxBarEditItem
      Caption = #1053#1072' '#1076#1072#1090#1091
      Category = 0
      Hint = #1053#1072' '#1076#1072#1090#1091
      Visible = ivAlways
      ShowCaption = True
      Width = 100
      PropertiesClassName = 'TcxDateEditProperties'
    end
    object dxBarButton36: TdxBarButton
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivAlways
      ImageIndex = 51
    end
    object dxBarButton37: TdxBarButton
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivAlways
      ImageIndex = 46
    end
    object dxBarButton38: TdxBarButton
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivAlways
    end
    object dxBarButton39: TdxBarButton
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivAlways
      ImageIndex = 10
    end
    object dxBarButton40: TdxBarButton
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivAlways
      Glyph.Data = {
        56020000424D560200000000000076000000280000001E0000001E0000000100
        040000000000E001000000000000000000001000000000000000000000000000
        8000008000000080800080000000800080008080000080808000C0C0C0000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00000000000000
        00000000000000000002077777777777777777777777777770020F7777777777
        777777777777777770D40F8888888888888888888888888770B90F8888888888
        888888888888888770000F8888888888888888888888888770000F8888888888
        800000000000088770000F888888888880FF8FFF8FFF088770000F8888888888
        80FF8FFF8FFF088770000F8888888888807777777777088770000F8880000088
        80FF8FFF8FFF088770000F888066608880FF8FFF8FFF088770000F8880666088
        807777777777088770000F888066608880FF8FFF8FFF088770000F8000666000
        80FF8FFF8FFF088770000F8806666608807777777777088770000F8880666088
        80FF8FFF8FFF088770000F888806088880FF8FFF8FFF088770000F8888808888
        807777777777088770000F888888888880FF8FFF8FFF088770000F8888888888
        80FF8FFF8FFF088770000F8888888888807777777777088770000F8888888888
        80FF8FFF8FFF088770000F888888888880FF8FFF8FFF088770000F8888888888
        800000000000088770000F8888888888888888888888888770000F8888888888
        888888888888888770000F8888888888888888888888888770000FFFFFFFFFFF
        FFFFFFFFFFFFFFFF7000000000000000000000000000000000C5}
    end
    object dxBarButton41: TdxBarButton
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivAlways
      Glyph.Data = {
        56020000424D560200000000000076000000280000001E0000001E0000000100
        040000000000E001000000000000000000001000000000000000000000000000
        8000008000000080800080000000800080008080000080808000C0C0C0000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00000000000000
        00000000000000000000077777777777777777777777777770000F7777777777
        777777777777777770560F8888888888888888888888888770DD0F8888888888
        888888888888888770260F8888888888888888888888888770000F8888888888
        800000000000088770270F888888888880FF8FFF8FFF088770FB0F8888888888
        80FF8FFF8FFF088770F30F8888888888807777777777088770F30F8888888888
        80FF8FFF8FFF088770F30F888888888880FF8FFF8FFF088770F30F8888808888
        807777777777088770F70F888806088880FF8FFF8FFF088770B70F8880666088
        80FF8FFF8FFF088770370F8806666608807777777777088770370F8000666000
        80FF8FFF8FFF088770370F888066608880FF8FFF8FFF088770330F8880666088
        807777777777088770330F888066608880FF8FFF8FFF088770000F8880000088
        80FF8FFF8FFF088770000F8888888888807777777777088770000F8888888888
        80FF8FFF8FFF088770440F888888888880FF8FFF8FFF088770330F8888888888
        800000000000088770BB0F8888888888888888888888888770880F8888888888
        888888888888888770000F8888888888888888888888888770000FFFFFFFFFFF
        FFFFFFFFFFFFFFFF700000000000000000000000000000000000}
    end
    object dxBarButton42: TdxBarButton
      Caption = 'New Button'
      Category = 0
      Hint = 'New Button'
      Visible = ivAlways
    end
    object dxBarSubItem2: TdxBarSubItem
      Caption = 'New SubItem'
      Category = 0
      Visible = ivAlways
      ItemLinks = <>
    end
    object beDateAll: TcxBarEditItem
      Caption = #1053#1072' '#1076#1072#1090#1091
      Category = 0
      Hint = #1053#1072' '#1076#1072#1090#1091
      Visible = ivAlways
      ShowCaption = True
      Width = 100
      PropertiesClassName = 'TcxDateEditProperties'
    end
    object dxBarLookupCombo1: TdxBarLookupCombo
      Caption = #1044#1077#1085#1100' '#1085#1077#1076#1077#1083#1080
      Category = 0
      Hint = #1044#1077#1085#1100' '#1085#1077#1076#1077#1083#1080
      Visible = ivAlways
      Glyph.Data = {
        F6000000424DF600000000000000760000002800000010000000100000000100
        0400000000008000000000000000000000001000000000000000000000000000
        8000008000000080800080000000800080008080000080808000C0C0C0000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00DDDDDDDDDDDD
        DDDD000000000000000D0FFFF0FFFFFFFF0D0F77F0F777777F0D0CCCC0CCCCCC
        CC0D0C77C0C777777C0D0CCCC0CCCCCCCC0D0F77F0F777777F0D0FFFF0FFFFFF
        FF0D0F77F0F777777F0D0FFFF0FFFFFFFF0D000000000000000D0FFFCCCCFFF0
        DDDD0F777777FFF0DDDD0FFFCCCCFFF0DDDD000000000000DDDD}
      ShowCaption = True
      Width = 100
      RowCount = 7
    end
    object TdxBarDateCombo
      Caption = #1047#1072' '#1087#1077#1088#1080#1086#1076' '#1057':'
      Category = 0
      Hint = #1047#1072' '#1087#1077#1088#1080#1086#1076' '#1057':'
      Visible = ivAlways
      Glyph.Data = {
        F6000000424DF600000000000000760000002800000010000000100000000100
        0400000000008000000000000000000000001000000000000000000000000000
        8000008000000080800080000000800080008080000080808000C0C0C0000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00DDDDDDDDDDDD
        DDDDDDDD00000000000DDDDD0FFFFFFFFF0D00000F0000000F0D0FFF0FFFFFFF
        FF0D0F000FFF11FFFF0D0FFF0FFF11FFFF0D0FF10FFFF11FFF0D0FF10FFFFF11
        FF0D0FF10FF11111FF0D0FF10FFFFFFFFF0D0FF104444444440D0FFF04444444
        440D044400000000000D04444444440DDDDD00000000000DDDDD}
      ShowCaption = True
      Width = 100
    end
    object beDateEnd: TdxBarDateCombo
      Caption = #1055#1054':'
      Category = 0
      Hint = #1055#1054':'
      Visible = ivAlways
      Glyph.Data = {
        F6000000424DF600000000000000760000002800000010000000100000000100
        0400000000008000000000000000000000001000000000000000000000000000
        8000008000000080800080000000800080008080000080808000C0C0C0000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00DDDDDDDDDDDD
        DDDDDDDD00000000000DDDDD0FFFFFFFFF0D00000F0000000F0D0FFF0FFFFFFF
        FF0D0F000FFF11FFFF0D0FFF0FFF11FFFF0D0FF10FFFF11FFF0D0FF10FFFFF11
        FF0D0FF10FF11111FF0D0FF10FFFFFFFFF0D0FF104444444440D0FFF04444444
        440D044400000000000D04444444440DDDDD00000000000DDDDD}
      ShowCaption = True
      Width = 100
    end
    object beiDateBegin: TcxBarEditItem
      Caption = #1047#1072' '#1087#1077#1088#1080#1086#1076' '#1057':'
      Category = 0
      Hint = #1047#1072' '#1087#1077#1088#1080#1086#1076' '#1057':'
      Visible = ivAlways
      ShowCaption = True
      Width = 100
      PropertiesClassName = 'TcxDateEditProperties'
      Properties.OnCloseUp = beiDateBeginPropertiesCloseUp
    end
    object beiDateEnd: TcxBarEditItem
      Caption = #1055#1054':'
      Category = 0
      Hint = #1055#1054':'
      Visible = ivAlways
      ShowCaption = True
      Width = 100
      PropertiesClassName = 'TcxDateEditProperties'
      Properties.OnCloseUp = beiDateEndPropertiesCloseUp
    end
    object dxBarButton43: TdxBarButton
      Caption = #1050#1086#1101#1092#1092#1080#1094#1080#1077#1085#1090#1099
      Category = 0
      Hint = #1050#1086#1101#1092#1092#1080#1094#1080#1077#1085#1090#1099
      Visible = ivAlways
      OnClick = dxBarButton43Click
    end
  end
  object dsPortion: TDataSource
    DataSet = qPortion
    Left = 288
    Top = 152
  end
  object qPortion: TIBQuery
    Database = DMInv.DBRead
    Transaction = DMInv.IBTransaction1
    CachedUpdates = True
    SQL.Strings = (
      'select FP.*,'
      '       case'
      '         when FP.typeportion = 1 then '#39#1047#1072#1074#1090#1088#1072#1082' '#8470'1'#39
      '         when FP.typeportion = 2 then '#39#1047#1072#1074#1090#1088#1072#1082' '#8470'2'#39
      '         when FP.typeportion = 3 then '#39#1054#1073#1077#1076#39
      '         when FP.typeportion = 4 then '#39#1055#1086#1083#1076#1085#1080#1082#39
      '         when FP.typeportion = 5 then '#39#1059#1078#1080#1085' '#8470'1'#39
      '         when FP.typeportion = 6 then '#39#1059#1078#1080#1085' '#8470'2'#39
      '       end as GR'
      'from F_PORTION FP'
      'where fp.pdate between :datebegin and :dateend')
    UpdateObject = quPortion
    GeneratorField.Field = 'SDID'
    Left = 320
    Top = 152
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'datebegin'
        ParamType = ptUnknown
      end
      item
        DataType = ftUnknown
        Name = 'dateend'
        ParamType = ptUnknown
      end>
    object qPortionIDPORTION: TIntegerField
      FieldName = 'IDPORTION'
      Origin = '"F_PORTION"."IDPORTION"'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object qPortionPDATE: TDateField
      FieldName = 'PDATE'
      Origin = '"F_PORTION"."PDATE"'
    end
    object qPortionTYPEPORTION: TIntegerField
      FieldName = 'TYPEPORTION'
      Origin = '"F_PORTION"."TYPEPORTION"'
    end
    object qPortionTNURSERY1: TIntegerField
      FieldName = 'TNURSERY1'
      Origin = '"F_PORTION"."TNURSERY1"'
    end
    object qPortionANURSERY1: TIntegerField
      FieldName = 'ANURSERY1'
      Origin = '"F_PORTION"."ANURSERY1"'
    end
    object qPortionTNURSERY2: TIntegerField
      FieldName = 'TNURSERY2'
      Origin = '"F_PORTION"."TNURSERY2"'
    end
    object qPortionANURSERY2: TIntegerField
      FieldName = 'ANURSERY2'
      Origin = '"F_PORTION"."ANURSERY2"'
    end
    object qPortionTNURSERYSTAFF: TIntegerField
      FieldName = 'TNURSERYSTAFF'
      Origin = '"F_PORTION"."TNURSERYSTAFF"'
    end
    object qPortionANURSERYSTAFF: TIntegerField
      FieldName = 'ANURSERYSTAFF'
      Origin = '"F_PORTION"."ANURSERYSTAFF"'
    end
    object qPortionTPRIMARY: TIntegerField
      FieldName = 'TPRIMARY'
      Origin = '"F_PORTION"."TPRIMARY"'
    end
    object qPortionAPRIMARY: TIntegerField
      FieldName = 'APRIMARY'
      Origin = '"F_PORTION"."APRIMARY"'
    end
    object qPortionTPRIMARYSTAFF: TIntegerField
      FieldName = 'TPRIMARYSTAFF'
      Origin = '"F_PORTION"."TPRIMARYSTAFF"'
    end
    object qPortionAPRIMARYSTAFF: TIntegerField
      FieldName = 'APRIMARYSTAFF'
      Origin = '"F_PORTION"."APRIMARYSTAFF"'
    end
    object qPortionTHIGH: TIntegerField
      FieldName = 'THIGH'
      Origin = '"F_PORTION"."THIGH"'
    end
    object qPortionAHIGH: TIntegerField
      FieldName = 'AHIGH'
      Origin = '"F_PORTION"."AHIGH"'
    end
    object qPortionTHIGHSTAFF: TIntegerField
      FieldName = 'THIGHSTAFF'
      Origin = '"F_PORTION"."THIGHSTAFF"'
    end
    object qPortionAHIGHSTAFF: TIntegerField
      FieldName = 'AHIGHSTAFF'
      Origin = '"F_PORTION"."AHIGHSTAFF"'
    end
    object qPortionTSTAFF: TIntegerField
      FieldName = 'TSTAFF'
      Origin = '"F_PORTION"."TSTAFF"'
    end
    object qPortionASTAFF: TIntegerField
      FieldName = 'ASTAFF'
      Origin = '"F_PORTION"."ASTAFF"'
    end
    object qPortionDAYWEEK: TIntegerField
      FieldName = 'DAYWEEK'
      Origin = '"F_PORTION"."DAYWEEK"'
    end
    object qPortionGR: TIBStringField
      FieldName = 'GR'
      ProviderFlags = []
      FixedChar = True
      Size = 10
    end
    object qPortionRNURSERY1: TIntegerField
      FieldName = 'RNURSERY1'
      Origin = '"F_PORTION"."RNURSERY1"'
    end
    object qPortionKNURSERY1: TIBBCDField
      FieldName = 'KNURSERY1'
      Origin = '"F_PORTION"."KNURSERY1"'
      Precision = 18
      Size = 2
    end
    object qPortionRNURSERY2: TIntegerField
      FieldName = 'RNURSERY2'
      Origin = '"F_PORTION"."RNURSERY2"'
    end
    object qPortionKNURSERY2: TIBBCDField
      FieldName = 'KNURSERY2'
      Origin = '"F_PORTION"."KNURSERY2"'
      Precision = 18
      Size = 2
    end
    object qPortionRNURSERYSTAFF: TIntegerField
      FieldName = 'RNURSERYSTAFF'
      Origin = '"F_PORTION"."RNURSERYSTAFF"'
    end
    object qPortionKNURSERYSTAFF: TIBBCDField
      FieldName = 'KNURSERYSTAFF'
      Origin = '"F_PORTION"."KNURSERYSTAFF"'
      Precision = 18
      Size = 2
    end
    object qPortionRPRIMARY: TIntegerField
      FieldName = 'RPRIMARY'
      Origin = '"F_PORTION"."RPRIMARY"'
    end
    object qPortionKPRIMARY: TIBBCDField
      FieldName = 'KPRIMARY'
      Origin = '"F_PORTION"."KPRIMARY"'
      Precision = 18
      Size = 2
    end
    object qPortionRPRIMARYSTAFF: TIntegerField
      FieldName = 'RPRIMARYSTAFF'
      Origin = '"F_PORTION"."RPRIMARYSTAFF"'
    end
    object qPortionKPRIMARYSTAFF: TIBBCDField
      FieldName = 'KPRIMARYSTAFF'
      Origin = '"F_PORTION"."KPRIMARYSTAFF"'
      Precision = 18
      Size = 2
    end
    object qPortionRHIGH: TIntegerField
      FieldName = 'RHIGH'
      Origin = '"F_PORTION"."RHIGH"'
    end
    object qPortionKHIGH: TIBBCDField
      FieldName = 'KHIGH'
      Origin = '"F_PORTION"."KHIGH"'
      Precision = 18
      Size = 2
    end
    object qPortionRHIGHSTAFF: TIntegerField
      FieldName = 'RHIGHSTAFF'
      Origin = '"F_PORTION"."RHIGHSTAFF"'
    end
    object qPortionKHIGHSTAFF: TIBBCDField
      FieldName = 'KHIGHSTAFF'
      Origin = '"F_PORTION"."KHIGHSTAFF"'
      Precision = 18
      Size = 2
    end
    object qPortionRSTAFF: TIntegerField
      FieldName = 'RSTAFF'
      Origin = '"F_PORTION"."RSTAFF"'
    end
    object qPortionKSTAFF: TIBBCDField
      FieldName = 'KSTAFF'
      Origin = '"F_PORTION"."KSTAFF"'
      Precision = 18
      Size = 2
    end
    object qPortionISNOTUSE: TIntegerField
      FieldName = 'ISNOTUSE'
      Origin = '"F_PORTION"."ISNOTUSE"'
    end
    object qPortionSNURSERY1: TIBBCDField
      FieldName = 'SNURSERY1'
      Origin = '"F_PORTION"."SNURSERY1"'
      Precision = 18
      Size = 2
    end
    object qPortionSNURSERY2: TIBBCDField
      FieldName = 'SNURSERY2'
      Origin = '"F_PORTION"."SNURSERY2"'
      Precision = 18
      Size = 2
    end
    object qPortionSNURSERYSTAFF: TIBBCDField
      FieldName = 'SNURSERYSTAFF'
      Origin = '"F_PORTION"."SNURSERYSTAFF"'
      Precision = 18
      Size = 2
    end
    object qPortionSPRIMARY: TIBBCDField
      FieldName = 'SPRIMARY'
      Origin = '"F_PORTION"."SPRIMARY"'
      Precision = 18
      Size = 2
    end
    object qPortionSPRIMARYSTAFF: TIBBCDField
      FieldName = 'SPRIMARYSTAFF'
      Origin = '"F_PORTION"."SPRIMARYSTAFF"'
      Precision = 18
      Size = 2
    end
    object qPortionSHIGH: TIBBCDField
      FieldName = 'SHIGH'
      Origin = '"F_PORTION"."SHIGH"'
      Precision = 18
      Size = 2
    end
    object qPortionSHIGHSTAFF: TIBBCDField
      FieldName = 'SHIGHSTAFF'
      Origin = '"F_PORTION"."SHIGHSTAFF"'
      Precision = 18
      Size = 2
    end
    object qPortionSSTAFF: TIBBCDField
      FieldName = 'SSTAFF'
      Origin = '"F_PORTION"."SSTAFF"'
      Precision = 18
      Size = 2
    end
  end
  object quPortion: TIBUpdateSQL
    RefreshSQL.Strings = (
      'Select '
      '  IDPORTION,'
      '  PDATE,'
      '  TYPEPORTION,'
      '  TNURSERY1,'
      '  RNURSERY1,'
      '  KNURSERY1,'
      '  ANURSERY1,'
      '  TNURSERY2,'
      '  RNURSERY2,'
      '  KNURSERY2,'
      '  ANURSERY2,'
      '  TNURSERYSTAFF,'
      '  RNURSERYSTAFF,'
      '  KNURSERYSTAFF,'
      '  ANURSERYSTAFF,'
      '  TPRIMARY,'
      '  RPRIMARY,'
      '  KPRIMARY,'
      '  APRIMARY,'
      '  TPRIMARYSTAFF,'
      '  RPRIMARYSTAFF,'
      '  KPRIMARYSTAFF,'
      '  APRIMARYSTAFF,'
      '  THIGH,'
      '  RHIGH,'
      '  KHIGH,'
      '  AHIGH,'
      '  THIGHSTAFF,'
      '  RHIGHSTAFF,'
      '  KHIGHSTAFF,'
      '  AHIGHSTAFF,'
      '  TSTAFF,'
      '  RSTAFF,'
      '  KSTAFF,'
      '  ASTAFF,'
      '  DAYWEEK,'
      '  ISNOTUSE,'
      '  SNURSERY1,'
      '  SNURSERY2,'
      '  SNURSERYSTAFF,'
      '  SPRIMARY,'
      '  SPRIMARYSTAFF,'
      '  SHIGH,'
      '  SHIGHSTAFF,'
      '  SSTAFF,'
      '  GR'
      'from F_PORTION '
      'where'
      '  IDPORTION = :IDPORTION')
    ModifySQL.Strings = (
      'update F_PORTION'
      'set'
      '  AHIGH = :AHIGH,'
      '  AHIGHSTAFF = :AHIGHSTAFF,'
      '  ANURSERY1 = :ANURSERY1,'
      '  ANURSERY2 = :ANURSERY2,'
      '  ANURSERYSTAFF = :ANURSERYSTAFF,'
      '  APRIMARY = :APRIMARY,'
      '  APRIMARYSTAFF = :APRIMARYSTAFF,'
      '  ASTAFF = :ASTAFF,'
      '  ISNOTUSE = :ISNOTUSE,'
      '  KHIGH = :KHIGH,'
      '  KHIGHSTAFF = :KHIGHSTAFF,'
      '  KNURSERY1 = :KNURSERY1,'
      '  KNURSERY2 = :KNURSERY2,'
      '  KNURSERYSTAFF = :KNURSERYSTAFF,'
      '  KPRIMARY = :KPRIMARY,'
      '  KPRIMARYSTAFF = :KPRIMARYSTAFF,'
      '  KSTAFF = :KSTAFF,'
      '  RHIGH = :RHIGH,'
      '  RHIGHSTAFF = :RHIGHSTAFF,'
      '  RNURSERY1 = :RNURSERY1,'
      '  RNURSERY2 = :RNURSERY2,'
      '  RNURSERYSTAFF = :RNURSERYSTAFF,'
      '  RPRIMARY = :RPRIMARY,'
      '  RPRIMARYSTAFF = :RPRIMARYSTAFF,'
      '  RSTAFF = :RSTAFF,'
      '  SHIGH = :SHIGH,'
      '  SHIGHSTAFF = :SHIGHSTAFF,'
      '  SNURSERY1 = :SNURSERY1,'
      '  SNURSERY2 = :SNURSERY2,'
      '  SNURSERYSTAFF = :SNURSERYSTAFF,'
      '  SPRIMARY = :SPRIMARY,'
      '  SPRIMARYSTAFF = :SPRIMARYSTAFF,'
      '  SSTAFF = :SSTAFF,'
      '  THIGH = :THIGH,'
      '  THIGHSTAFF = :THIGHSTAFF,'
      '  TNURSERY1 = :TNURSERY1,'
      '  TNURSERY2 = :TNURSERY2,'
      '  TNURSERYSTAFF = :TNURSERYSTAFF,'
      '  TPRIMARY = :TPRIMARY,'
      '  TPRIMARYSTAFF = :TPRIMARYSTAFF,'
      '  TSTAFF = :TSTAFF'
      'where'
      '  IDPORTION = :OLD_IDPORTION')
    InsertSQL.Strings = (
      'insert into F_PORTION'
      
        '  (AHIGH, AHIGHSTAFF, ANURSERY1, ANURSERY2, ANURSERYSTAFF, APRIM' +
        'ARY, APRIMARYSTAFF, '
      
        '   ASTAFF, ISNOTUSE, KHIGH, KHIGHSTAFF, KNURSERY1, KNURSERY2, KN' +
        'URSERYSTAFF, '
      
        '   KPRIMARY, KPRIMARYSTAFF, KSTAFF, RHIGH, RHIGHSTAFF, RNURSERY1' +
        ', RNURSERY2, '
      
        '   RNURSERYSTAFF, RPRIMARY, RPRIMARYSTAFF, RSTAFF, SHIGH, SHIGHS' +
        'TAFF, SNURSERY1, '
      
        '   SNURSERY2, SNURSERYSTAFF, SPRIMARY, SPRIMARYSTAFF, SSTAFF, TH' +
        'IGH, THIGHSTAFF, '
      
        '   TNURSERY1, TNURSERY2, TNURSERYSTAFF, TPRIMARY, TPRIMARYSTAFF,' +
        ' TSTAFF)'
      'values'
      
        '  (:AHIGH, :AHIGHSTAFF, :ANURSERY1, :ANURSERY2, :ANURSERYSTAFF, ' +
        ':APRIMARY, '
      
        '   :APRIMARYSTAFF, :ASTAFF, :ISNOTUSE, :KHIGH, :KHIGHSTAFF, :KNU' +
        'RSERY1, '
      
        '   :KNURSERY2, :KNURSERYSTAFF, :KPRIMARY, :KPRIMARYSTAFF, :KSTAF' +
        'F, :RHIGH, '
      
        '   :RHIGHSTAFF, :RNURSERY1, :RNURSERY2, :RNURSERYSTAFF, :RPRIMAR' +
        'Y, :RPRIMARYSTAFF, '
      
        '   :RSTAFF, :SHIGH, :SHIGHSTAFF, :SNURSERY1, :SNURSERY2, :SNURSE' +
        'RYSTAFF, '
      
        '   :SPRIMARY, :SPRIMARYSTAFF, :SSTAFF, :THIGH, :THIGHSTAFF, :TNU' +
        'RSERY1, '
      
        '   :TNURSERY2, :TNURSERYSTAFF, :TPRIMARY, :TPRIMARYSTAFF, :TSTAF' +
        'F)')
    DeleteSQL.Strings = (
      'delete from F_PORTION'
      'where'
      '  IDPORTION = :OLD_IDPORTION')
    Left = 352
    Top = 152
  end
end
